package messagesvc.request.template;

import cn.ucloud.microsf.mpcsvc.common.enums.TemplateType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "模板创建请求对象")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TemplateCreateRequest {

  /**
   * 模板名称
   */
  @ApiModelProperty(name = "name" , notes = "模板名称", example = "xxx")
  private String name;

  /**
   * 模板类型 1: 站内信 2: 短信 3: 邮件
   */
  @ApiModelProperty(name = "type" , notes = "模板类型 1: 站内信 2: 短信 3: 邮件", example = "1")
  private TemplateType type;

  /**
   * 模板内容
   */
  @ApiModelProperty(name = "content" , notes = "模板内容", example = "xxx")
  private String content;

  /**
   * 模板组别
   */
  @ApiModelProperty(name = "group_id" , notes = "模板组别", example = "xxx")
  private String groupId;

  /**
   * 是否支持广播
   */
  @ApiModelProperty(name = "is_wide" , notes = "是否支持广播", example = "0")
  private Boolean isWide;
}
